package com.example.baserecyclerviewadapterdemo.entity;

import com.chad.library.adapter.base.entity.JSectionEntity;

public class MySection extends JSectionEntity {
    private boolean isHeader;
    private Object object;

    public MySection(boolean isHeader, Object object) {
        this.isHeader = isHeader;
        this.object = object;
    }

    public MySection(Object object) {
        this.object = object;
    }

    @Override
    public boolean isHeader() {
        return isHeader;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
